﻿package com.my.project.dubbo.user.api;


import com.my.project.dubbo.user.dto.DebitRequest;
import com.my.project.dubbo.user.dto.DebitResponse;
import com.my.project.dubbo.user.dto.UserRequestDto;
import com.my.project.dubbo.user.dto.UserResponseDto;




/**
 * @Author:wangbin.
 * @Description.
 * @Date:Created in 11:38 2017/8/21.
 * @Modified By:
 */
public interface UserService {

    /**
     * 用户登陆
     * @param request
     * @return
     */
    public UserResponseDto login(UserRequestDto request);

    /**
     * 扣减余额
     * @param debitRequest
     * @return
     */
    public DebitResponse debit(DebitRequest debitRequest);
}
